#include <iostream>
using namespace std;
#include "DateClass.h"

int main(int argc, char** argv) 
{
	Date d1;
	Date d2(8, 8, 2008);
	Date d3(10, 10, 2888);
	cout << "d1 = " << d1 << "\n"
		 << "d2 = " << d2 << "\n"
		 << "d3 = " << d3 << "\n";
	cout << "d2 += 7 is:" << (d2 += 7) << "\n"; 
	d3.setDate(2, 28, 1992);
	cout << "d3 = " << d3 << "\n";
	cout << "++d3:" << (++d3) << "\n";
	cout << "++d3:" << (++d3) << "\n";
	//cout << "d3++:" << (d3++) << "\n";
	Date d4(7, 13, 2018);
	cout << "pre" << "\n";
	cout << "d4 = " << d4 << "\n";
	cout << "++d4" << (++d4) << "\n";
	cout << "d4 = " << d4 << "\n";
	cout << "pos" << "\n";
	cout << "d4 = " << d4 << "\n";
	cout << "d4++" << (d4++) << "\n"; 
	cout << "d4 = " << d4 << "\n";
	
	cout << "pos" << "\n";
	cout << "d4 = " << d4 << "\n";
	d4++;
	cout << "d4++" << d4 <<"\n"; 
	cout << "d4 = " << d4 << "\n";
 	return 0;
}
